package com.adcc.loadSheetForwarder.service;

import com.adcc.loadSheetForwarder.utils.LoadSheetException;
import com.adcc.loadSheetForwarder.vo.FlightVO;
import com.adcc.loadSheetForwarder.vo.GetFlightsVO;
import com.adcc.loadSheetForwarder.vo.GetOriginalLoadSheetVO;
import com.adcc.loadSheetForwarder.vo.LoadSheetVO;

import java.util.List;

public interface LoadSheetService {

    /**
     * 获取航班列表数据
     *
     * @param getFlightsVO
     * @return
     */
    List<FlightVO> getFlights(GetFlightsVO getFlightsVO, String traceid) throws LoadSheetException;

    /**
     * 获取舱单原文
     *
     * @return
     * @throws LoadSheetException
     */
    LoadSheetVO getOriginalLoadSheet(GetOriginalLoadSheetVO getOriginalLoadSheetVO, String traceid) throws LoadSheetException;
}
